<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-mesDisbillCgzx-edit" th:object="${mesDisbillCgzx}">
            <input id="gid" name="gid" th:field="*{gid}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">配送单号：</label>
				<div class="col-sm-8">
					<input id="code" name="code" th:field="*{code}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">配送时间：</label>
				<div class="col-sm-8">
					<input id="disDate" name="disDate" th:field="*{disDate}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">订单号：</label>
				<div class="col-sm-8">
					<input id="orderCode" name="orderCode" th:field="*{orderCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">派工单编号：</label>
				<div class="col-sm-8">
					<input id="dispatchCode" name="dispatchCode" th:field="*{dispatchCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工单号：</label>
				<div class="col-sm-8">
					<input id="workOrderId" name="workOrderId" th:field="*{workOrderId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工艺路线名称：</label>
				<div class="col-sm-8">
					<input id="routeName" name="routeName" th:field="*{routeName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工艺路线编号：</label>
				<div class="col-sm-8">
					<input id="routeId" name="routeId" th:field="*{routeId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">产品名称：</label>
				<div class="col-sm-8">
					<input id="productName" name="productName" th:field="*{productName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">产品编码：</label>
				<div class="col-sm-8">
					<input id="produUid" name="produUid" th:field="*{produUid}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工序名称：</label>
				<div class="col-sm-8">
					<input id="opName" name="opName" th:field="*{opName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工序编号 ：</label>
				<div class="col-sm-8">
					<input id="opCode" name="opCode" th:field="*{opCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工位编号：</label>
				<div class="col-sm-8">
					<input id="workstationCode" name="workstationCode" th:field="*{workstationCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">项目编码：</label>
				<div class="col-sm-8">
					<input id="projectCode" name="projectCode" th:field="*{projectCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工位配送物料编码：</label>
				<div class="col-sm-8">
					<input id="matId" name="matId" th:field="*{matId}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">产品序列号：</label>
				<div class="col-sm-8">
					<input id="matSerial" name="matSerial" th:field="*{matSerial}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">物料名称：</label>
				<div class="col-sm-8">
					<input id="matName" name="matName" th:field="*{matName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">工位配送物料数量：</label>
				<div class="col-sm-8">
					<input id="matNum" name="matNum" th:field="*{matNum}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">配盘号：</label>
				<div class="col-sm-8">
					<input id="packingNbr" name="packingNbr" th:field="*{packingNbr}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">物料规格：</label>
				<div class="col-sm-8">
					<input id="matModel" name="matModel" th:field="*{matModel}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">供应商名称：</label>
				<div class="col-sm-8">
					<input id="matSupplierName" name="matSupplierName" th:field="*{matSupplierName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">供应商编码：</label>
				<div class="col-sm-8">
					<input id="matSupplierCode" name="matSupplierCode" th:field="*{matSupplierCode}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">标志位：</label>
				<div class="col-sm-8">
					<input id="flag" name="flag" th:field="*{flag}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/mesDisbillCgzx";
		$("#form-mesDisbillCgzx-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			}
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-mesDisbillCgzx-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
